<template>
  <div class="" />
</template>

<script>
export default {
  name: 'MyComponent',
  props: { },
  data () {
    return { }
  },
  computed: { },
  created () { this.quchong([2, 2, 2]) },
  mounted () { },
  methods: {
    quchong (arr) {
      var res = arr.filters(function (item, index, array) {
        return array.indexOf(item) === index
      })
      return res
    }
  }
}
</script>

<style scoped lang='less'></style>
